﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace GenetecHackathonCod3
{
    public partial class ViewNote : PhoneApplicationPage
    {

        public static Note currentNote;
        
        public ViewNote()
        {
            InitializeComponent();
            currentNote = EditReport.currentReport.getNotes().ElementAt(EditReport.selected);
            title.Text = currentNote.getTitle();
            text.Text = currentNote.getText();

        }

        

    }
}